﻿@model Example6.MvcWebApp.Sharding.Models.HybridShardingTenantDto

@{
    ViewData["Title"] = "Delete";
}

<div class="h3">Delete the <span class="h2">@Model.TenantName</span> tenant and all its data</div>
<h3>Are you sure you want to delete this?</h3>


<h4 class="text-danger">WARNING: This will delete the tenant and its data.</h4>

<div>
    <hr />
    <dl class="row">
        <dt class="col-sm-2">
            @Html.DisplayNameFor(model => model.TenantName)
        </dt>
        <dd class="col-sm-10">
            @Html.DisplayFor(model => model.TenantName)
        </dd>
    </dl>

    <form asp-action="Delete">
        @Html.HiddenFor(model => model.TenantId)
        <input type="submit" value="Delete" class="btn btn-danger" /> |
        <a asp-action="Index">Back to List</a>
    </form>
</div>
